#ifndef AD_CUSTOM_H
#define AD_CUSTOM_H

#include <QMainWindow>
#include<QStandardItemModel>

namespace Ui {
class ad_custom;
}

class ad_custom : public QMainWindow
{
    Q_OBJECT

public:
    explicit ad_custom(QWidget *parent = 0);
    ~ad_custom();

private slots:
    void on_action_4_triggered();

    void on_action_2_triggered();

    void on_action_5_triggered();

    void on_action_3_triggered();

    void on_action_triggered();

    void on_action_6_triggered();

    void updatename();
    void on_action_7_triggered();

private:
    Ui::ad_custom *ui;
private:
    QStandardItemModel *themodel;
    int js();
    int js_hy();

};

#endif // AD_CUSTOM_H
